import { IsNotEmpty, IsString } from 'class-validator';
import { GetListDto } from 'src/music/dto/music.dto';
export class CreateRoomDto {
  @IsString()
  @IsNotEmpty({ message: '房间名字段不存在' })
  room_name: string;

  @IsString()
  @IsNotEmpty({ message: '风格字段不存在' })
  school: string;

  paylist?: GetListDto[] = [];

  client?: { user_name: string; random: string }[] = [];

  state?: 'play' | 'end' | 'pause' = 'end';
}
